package com.crm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class MyTest {
    @GetMapping("tologin")
    public String toLogin(){
        return "before-sale/login";
    }
    @GetMapping("to-form")
    public String toForm(){
        return "utils/utilsForm";
    }
    @GetMapping("crmIndex")
    public String crmIndex(){
        return "crmIndex";
    }
    /*公共模板*/
    @GetMapping("Calculator")
    public String calculator(){
        return "utils/Calculator";
    }
    @GetMapping("utilsDatagrid")
    public String toUtilsDatagrid(){
        return "utils/utilsDatagrid";
    }
    @GetMapping("details")
    public String to(){
        return "utils/utilsDetails";
    }
    @GetMapping("test")
    public String toTest(){
        return "utils/test";
    }


    /*dialog选择器*/
    @GetMapping("dialog")
    public String to11(){
        return "utils/dialog-test";
    }
    @GetMapping("new-model")
    public String tomodel1(){
        return "utils/new-model-add-form";
    }
    @GetMapping("new-model2")
    public String tomodel2(){
        return "utils/new-model-add-edtails";
    }
    @GetMapping("new-model3")
    public String tomodel3(){
        return "utils/new-model-datagrid";
    }



    //江明的客户视图
    @GetMapping("to-client-view")
    public String toClientView(){
        return "client/client-view";
    }
    @GetMapping("glass")
    public String glass(){
        return "utils/glass";
    }



}
